<style lang="scss" scoped>

</style>
<template>
    <ui-main :title="$route.name">
        <div class="item one">输出的结果: {{ modelLabel2 }}
            <hr>
            <ui-tagging-input v-model="modelLabel2" placeholder="请选择" @change="callback" @delItem='delItem'></ui-tagging-input>
        </div>
        <div class="item four">
            <ui-load-md no-bar file="ui-tagging-input"></ui-load-md>
        </div>
    </ui-main>
</template>
<script>
    export default {
        name:'',
        data() {
            return {
                modelLabel2:'你,就,是个,老母牛,1,abc',
            }
        },
        mounted() {
            setTimeout(() => {
                this.modelLabel2 = '1,2,3'
            },1000)
        },
        watch:{},
        methods:{
            callback(v,id) {
                this.log('cb:', v, '111', id)
            },
            delItem(index) {
                console.log('del:', index)
            }
        }
    }
</script>
